{{#if (eq webDeploy "alchemy")}}
import { initOpenNextCloudflareForDev } from "@opennextjs/cloudflare";
{{/if}}
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
	typedRoutes: true,
    reactCompiler: true,
	{{#if (includes examples "ai")}}
    transpilePackages: ["shiki"],
    {{/if}}
    {{#if (eq dbSetup "turso")}}
    serverExternalPackages: ["libsql", "@libsql/client"],
    {{/if}}
};

export default nextConfig;

{{#if (eq webDeploy "alchemy")}}
initOpenNextCloudflareForDev();
{{/if}}
